﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.BLL.PhotoRindGrid;
using MINERP.MODEL.FoundationModel;
using MINERP.MODEL.OverOrder;

namespace MINERP.PhotoRindGrid.IView
{
    public interface IFrmPhotoRindGrid
    {
        /// <summary>
        /// 当前操作员
        /// </summary>
        int OperateUserId { get; set; }

        /// <summary>
        /// 当前格子
        /// </summary>
        UCGrid CurrGrid { get; set; }

        /// <summary>
        ///产品当前节点
        /// </summary>
        int CurrTech { get; set; }
       /// <summary>
       /// 当前产品条码
       /// </summary>
        string CurrBarCode { get; }
        /// <summary>
        /// 产品条码
        /// </summary>
        string ProductBarCode { get; set; }

        Hashtable gridHash { get; set; }
        /// <summary>
        /// 当前分区
        /// </summary>
        GridSubArea_Info CurrSubares { get; set; }

        /// <summary>
        /// 当前格子
        /// </summary>
        Grid_Info CurrentGrid { get; set; }

        List<PhotoSubarea_Info> SubAreas { get; set; }
        /// <summary>
        /// 显示当前分区的格子信息
        /// </summary>
        /// <param name="listGrid"></param>
        void ShowGrid(List<GridView> listGrid);
        /// <summary>
        /// 显示格子里放入的产品信息列表
        /// </summary>
        /// <param name="PhotoView"></param>
        void ShowPhotoByGrid(List<PhotoView> listphoto);
        /// <summary>
        /// 显示格子里放入的产品的未分配的照片列表
        /// </summary>
        /// <param name="listphoto"></param>
        void ShowPhotoImage(List<PhotoView> listphoto);
        /// <summary>
        /// 刷新产品格子信息
        /// </summary>
        /// <param name="grid"></param>
        void RushGrid(GridView grid);

        /// <summary>
        ///清空格子
        /// </summary>
        void ClearGrid();
        /// <summary>
        /// 选择分区
        /// </summary>
        /// <param name="subAreaList"></param>
        void SelectSubArea(List<GridSubArea_Info> subAreaList);
        /// <summary>
        /// 程序退出
        /// </summary>
        void Exit();
        /// <summary>
        ///  显示右侧信息
        /// </summary>
        /// <param name="view"></param>
        void ShowGridInfo(List<GridView> view);

        void DisPlayGriName(string Name);



        void ShowGridInfo(MINERP.MODEL.PhotoRindGrid.PhotoGridOrderHeadInfo photoGridOrderHeadInfo);


        List<PhotoView> CurrPhotoList { get; set; }
    }
}
